import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/global.css';
import axios from "axios";
import VueRouter from 'vue-router';
import router from './router';
import store from './store';
import JsonExcel from 'vue-json-excel';

Vue.prototype.$axios = axios;
// 全局请求路径
Vue.prototype.$httpUrl = 'http://localhost:20000'
Vue.config.productionTip = false
    //Vue.use(ElementUI);
Vue.use(VueRouter);
Vue.use(ElementUI, { size: 'small' });
Vue.component('downloadExcel', JsonExcel);
new Vue({
    router,
    store,
    render: h => h(App),
}).$mount('#app')